package com.sita.tingterest.pojo;

import java.io.Serializable;

/**
 * liteplayer by loader
 *
 * @author qibin
 */
public class Music implements Serializable {
    // id title singer data time image
    /*private int id; // 音乐id

	public String getAuthorId() {
		return authorId;
	}

	public void setAuthorId(String authorId) {
		this.authorId = authorId;
	}

	public String getResourceId() {
		return resourceId;
	}

	public void setResourceId(String resourceId) {
		this.resourceId = resourceId;
	}

	private String authorId;
	private String resourceId;

	@Override
	public String toString() {
		return "Music{" +
				"id=" + id +
				", authorId='" + authorId + '\'' +
				", resourceId='" + resourceId + '\'' +
				", title='" + title + '\'' +
				", uri='" + uri + '\'' +
				", length=" + length +
				", image='" + image + '\'' +
				", artist='" + artist + '\'' +
				'}';
	}

	private String title; // 音乐标题
	private String uri; // 音乐路径
	private int length; // 长度
	private String image; // icon
	private String artist; // 艺术家

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public byte[] getIconData() {
		return iconData;
	}

	public void setIconData(byte[] iconData) {
		this.iconData = iconData;
	}

	public byte[] iconData;*/

    private String title;
    private Pic pic;
    private Audio audio;
    private int playCount;
    private int voteCount;

    public void setAudio(Audio audio) {
        this.audio = audio;
    }

    public Audio getAudio() {
        return audio;
    }

    public void setPic(Pic pic) {
        this.pic = pic;
    }

    public Pic getPic() {
        return pic;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    public void setPlayCount(int PlayCount) {
        this.playCount = PlayCount;
    }

    public int getPlayCount() {
        return playCount;
    }

    public void setVoteCount(int VoteCount) {
        this.voteCount = VoteCount;
    }

    public int getVoteCount() {
        return voteCount;
    }

    public Music(String title, Pic pic, Audio audio) {
        super();
        this.title = title;
        this.pic = pic;
        this.audio = audio;

    }

    public Music() {
        super();
    }

}